<?php


if (version_compare(PHP_VERSION, '5.3.0', '<')) die('require PHP > 5.3.0 !');

define('REVISE', true);//开发参考错误页面,以及版本调试总开关开关
define('LOCAL_DEV', true); //本地开发 关闭redis
define('APP_DEBUG', true);
define('APP_NAME', 'Application');
define('REDIS_NAME', 'Memory');

define('__PRODUCTION', false);
define('APP_VER', '0.2');
define('APP_PATH', './Application/');
define('HTML_PATH', './WapStatic');
define('RUNTIME_PATH', './runtime/');

define('STAFFBUFFERNAME', REDIS_NAME . ':staff:@TOKEN@');//员工信息内存表KEY值
define('APPSBUFFERNAME', REDIS_NAME . ':apps:@TOKEN@');//应用内存表KEY值
define('TEACHERWRITENAME', REDIS_NAME . ':teacherwrite:@TOKEN@:@APPID@');//班主任寄语内存表KEY值
define('CLASSDECLARATIONNAME', REDIS_NAME . ':classdeclaration:@TOKEN@:@APPID@');//班级宣言内存表KEY值
define('WEBSITENAME', REDIS_NAME . ':website:@TOKEN@');//微官网内存表KEY值
define('CLASSNOTICENAME', REDIS_NAME . ':classnotice:@TOKEN@:@APPID@');//班级通知表KEY值
define('AUTHORITYMNGNAME', REDIS_NAME . ':authority:@TOKEN@:@APPID@');//权限表KEY值
define('DEPARTMENTNAME', REDIS_NAME . ':department:@TOKEN@:@APPID@');//部门内存表KEY值
define('TEACHERCOURSENAME', REDIS_NAME . ':teachercourse:@TOKEN@:@USERID@');//教师任课表内存表KEY值
define('COURSEBUFFERNAME', REDIS_NAME . ':course:@TOKEN@:@APPID@');//班级课程表内存表KEY值
define('CLASSSCHEDULENAME', REDIS_NAME . ':classScheduleDetail:@TOKEN@:@APPID@:@CLASSID@');//值日详情表内存表KEY值
define('CLASSSCHEDULEDETAIL', REDIS_NAME . ':classScheduleDetail:@TOKEN@:@APPID@:@ID@');//值日详情表内存表KEY值
define('CHILDRENBUFFERNAME', REDIS_NAME . ':children:@TOKEN@');//孩子信息表内存表KEY值

require './ThinkPHP/ThinkPHP.php';

